// IGNORE_FIR_DIAGNOSTICS
// RUN_PIPELINE_TILL: BACKEND
// LATEST_LV_DIFFERENCE

// MODULE: common

expect <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE{JVM}!>class <!AMBIGUOUS_ACTUALS{JVM}, PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>A<!><!>

expect <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE{JVM}!>class <!AMBIGUOUS_ACTUALS{JVM}, PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>B<!><!>

<!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE{JVM}!>class <!ACTUAL_MISSING{JVM}, PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>C<!><!>

// MODULE: intermediate()()(common)

actual <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>class <!PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>A<!><!>

<!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>class <!ACTUAL_MISSING{JVM}, PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>B<!><!>

expect <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>class <!AMBIGUOUS_ACTUALS{JVM}, PACKAGE_OR_CLASSIFIER_REDECLARATION{JVM}!>C<!><!>

// MODULE: main()()(common, intermediate)

class <!ACTUAL_MISSING, PACKAGE_OR_CLASSIFIER_REDECLARATION!>A<!>

actual class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>B<!>

actual class <!PACKAGE_OR_CLASSIFIER_REDECLARATION!>C<!>

/* GENERATED_FIR_TAGS: actual, classDeclaration, expect */
